//
//  CYSMSExpireManager.h
//  cyjf
//
//  Created by tauCross on 2017/5/4.
//  Copyright © 2017年 Auto Financing. All rights reserved.
//

#import <Foundation/Foundation.h>



#define CYStandardSMSExpireManager [CYSMSExpireManager standardManager]



typedef NS_ENUM(NSUInteger, CYSMSExpireType)
{
    CYSMSExpireTypeSignUp = 0,
    CYSMSExpireTypeFindPassword = 1,
    CYSMSExpireTypePayment = 2,
    CYSMSExpireTypeBindCard = 3
};



@interface CYSMSExpireManager : NSObject

+ (instancetype)standardManager;

- (void)resetExpireDate:(NSDate *)date type:(CYSMSExpireType)type;
- (NSTimeInterval)secondsWithType:(CYSMSExpireType)type;

@end
